<?php

$aMenu = array
(
	'config' => array(
		'title' => 'menu.options',
		'items' => array(
			'admin.config.options' => array('title' => 'menu.config.options'),
			'admin.config.check' => array('title' => 'menu.update-options'),
			'admin.config.add' => array('title' => 'menu.add-option')
		),
	),
	'menus' => array(
		'title' => 'menu.custom.menus',
		'items' => array(
			'admin.main.menus' => array('title' => 'menu.main.menus'),
			'admin.main.menus.action_create' => array('title' => 'menu.main.menus_create'),
		),
	),
	'pages' => array(
		'title' => 'menu.custom.pages',
		'items' => array(
			'admin.main.pages' => array('title' => 'menu.main.pages'),
			'admin.main.pages.action_create' => array('title' => 'menu.main.pages_create'),
		),
	),
	'custom' => array(
		'title' => 'menu.custom',
		'items' => array(
			'admin.main.custom-fields' => array('title' => 'menu.main.custom-fields'),
			'admin.main.custom-fields-add' => array('title' => 'menu.main.custom-fields-add'),
		),
	),
	'styles' => array(
		'title' => 'menu.styles.templates',
		'items' => array(
			'admin.config.style' => array('title' => 'menu.config.style'),
			'admin.config.style-install' => array('title' => 'install_new'),
		),
	),
	'language' => array(
		'title' => 'menu.languages_phrases',
		'items' => array(
			'admin.language.manager' => array('title' => 'menu.language.manager'),
			'admin.language.phrases.content_true' => array('title' => 'menu.language.content'),
			'admin.language.phrases' => array('title' => 'menu.language.phrases'),
			'admin.language.options' => array('title' => 'menu.language.options'),
			'admin.language.add' => array('title' => 'menu.language.add'),
			'admin.language.download' => array('title' => 'menu.language.download'),
		),
	),
	'subscriptions' => array(
		'title' => 'menu.subscriptions',
		'items' => array(
			'admin.config.gateways' => array('title' => 'menu.config.gateways'),
		),
	),
	'users' => array(
		'title' => 'menu.users',
		'items' => array(
			'admin.main.members' => array('title' => 'menu.main.members'),
			'admin.panel.mail' => array('title' => 'menu.panel.mail'),
			'admin.panel.alerts' => array('title' => 'menu.panel.alerts'),
			'admin.panel.invite-list' => array('title' => 'menu.panel.invite-list'),
			'admin.extra.snoop' => array('title' => 'menu.extra.snoop'),
			'admin.extra.massmail' => array('title' => 'menu.extra.massmail'),
		),
	),
	'usergroups' => array(
		'title' => 'menu.usergroups',
		'items' => array(
			'admin.usergroups.manage' => array('title' => 'menu.usergroups.manager'),
			'admin.config.memberships.create_new' => array('title' => 'menu.memberships.create_new'),
			'admin.config.staff' => array('title' => 'menu.staff.perm'),
		),
	),
	'sections' => array(
		'title' => 'menu.sections',
		'items' => array(
			'admin.sections.forum' => array('title' => 'menu.sections.forum'),
			'admin.sections.groups' => array('title' => 'menu.sections.groups'),
			'admin.sections.classifieds' => array('title' => 'menu.sections.classifieds'),
			'admin.sections.polls' => array('title' => 'menu.sections.polls'),
			'admin.sections.quiz' => array('title' => 'menu.sections.quiz'),
			'admin.sections.gallery' => array('title' => 'menu.sections.gallery'),
		),
	),
	'music' => array(
		'title' => 'menu.music',
		'items' => array(
			'admin.music.albums' => array('title' => 'menu.music.approve-albums'),
			'admin.music.songs' => array('title' => 'menu.music.approve-songs'),
			'admin.music.genre' => array('title' => 'menu.music.edit-genre'),
		),
	),
	'videos' => array(
		'title' => 'menu.videos',
		'items' => array(
			'admin.sections.video' => array('title' => 'menu.sections.approve_video'),
			'admin.sections.video-categories' => array('title' => 'menu.sections.edit_categories'),
		),
	),
	'chat' => array(
		'title' => 'menu.chat_shoutbox',
		'items' => array(
			'admin.extra.shoutbox' => array('title' => 'menu.extra.shoutbox'),
			'admin.extra.chat' => array('title' => 'menu.extra.chat'),
		),
	),
	'deny' => array(
		'title' => 'menu.deny_ban',
		'items' => array(
			'admin.main.members' => array('title' => 'menu.ban.users'),
			'admin.ban.type_signup' => array('title' => 'menu.deny.username'),
			'admin.ban.type_email' => array('title' => 'menu.deny.email'),
			'admin.ban.type_word' => array('title' => 'menu.deny.word'),
			'admin.ban.type_ip' => array('title' => 'menu.deny.ip'),
		),
	),
	'ads' => array(
		'title' => 'menu.extra.ads',
		'items' => array(
			'admin.extra.ads' => array('title' => 'menu.extra.ads_manage'),
			'admin.extra.add-ads' => array('title' => 'menu.extra.ads_create'),
		),
	),
	'panel' => array(
		'title' => 'menu.sessions',
		'items' => array(
			'admin.panel.page-session' => array('title' => 'menu.panel.page-session'),
			'admin.panel.profile-session' => array('title' => 'menu.panel.profile-session'),
			'admin.panel.site-session' => array('title' => 'menu.panel.site-session'),
		),
	),
	'extra' => array(
		'title' => 'menu.maintenance',
		'items' => array(
			'admin.extra.mysql.backup_true' => array('title' => 'menu.extra.mysql_backup'),
			'admin.extra.mysql' => array('title' => 'menu.extra.mysql'),
			'admin.extra.clear-cache' => array('title' => 'menu.clear.cache'),
			'admin.phpinfo' => array('title' => 'menu.phpinfo'),
			'admin.frames.main.warning_on' => array('title' => 'menu.system-check-on'),			
			'admin.diagnostics' => array('title' => 'menu.diagnostics'),
			'admin.counters' => array('title' => 'menu.update-counters')
		),
	),
    'plugins' => array
    (
        'title' => 'menu.plugins',
        'items' => array
        (
            'admin.plugins' => array('title' => 'menu.general.plugins')
        )
    )	
);

if (App::getUser('user') != 'natio' && App::getUser('user') != 'natiostruction' && App::getParam('debug'))
{
	unset($aMenu['config']['items']['admin.config.add']);
}

?>